package vip.xiaonuo.smzq.modular.user.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import java.sql.Timestamp;

/**
 * 角色
 *
 * @author sqq
 * @since 2024-06-06
 */
@Getter
@Setter
@TableName("sys_role")
public class Role {


    @TableId
    @ApiModelProperty(value = "id")
    private String id;

    /**
     * 组织id
     * org_id
     */

    @ApiModelProperty(value = "org_id")
    private String orgId;

    /**
     * 名称
     * name
     */

    @ApiModelProperty(value = "name")
    private String name;

    /**
     * 编码
     * code
     */

    @ApiModelProperty(value = "code")
    private String code;

    /**
     * 分类
     * category
     */

    @ApiModelProperty(value = "category")
    private String category;

    /**
     * 排序码
     * sort_code
     */

    @ApiModelProperty(value = "sort_code")
    private Integer sortCode;

    /**
     * 扩展信息
     * ext_json
     */

    @ApiModelProperty(value = "ext_json")
    private String extJson;

    /**
     * 删除标志
     * delete_flag
     */

    @ApiModelProperty(value = "delete_flag")
    private String deleteFlag;

    /**
     * 创建时间
     * create_time
     */

    @ApiModelProperty(value = "create_time")
    private Timestamp createTime;

    /**
     * 创建用户
     * create_user
     */

    @ApiModelProperty(value = "create_user")
    private String createUser;

    /**
     * 修改时间
     * update_time
     */

    @ApiModelProperty(value = "update_time")
    private Timestamp updateTime;

    /**
     * 修改用户
     * update_user
     */

    @ApiModelProperty(value = "update_user")
    private String updateUser;
}
